package cn.oms.manage.dao.persist.mapper;

import cn.oms.manage.pojo.entity.MedicineCategory;
import cn.oms.manage.pojo.vo.MedicineCategoryListVO;
import cn.oms.manage.pojo.vo.MedicineCategoryStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理类别数据的Mapper接口
 *
 * @author java@tedu.cn
 * @version 0.0.1
 */
@Repository
public interface MedicineCategoryMapper extends BaseMapper<MedicineCategory> {

    int insertBatch(List<MedicineCategory> categories);

    MedicineCategoryStandardVO getStandardById(Long id);

    List<MedicineCategoryListVO> list();

}